package com.ruoyi.production.domain.graftinglabel;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 嫁接签量对象 graftinglabel_amount
 *
 * @author ruoyi
 * @date 2021-07-12
 */
public class GraftinglabelAmount extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long graftinglabelAmountId;

    /** 类型 */
    @Excel(name = "类型")
    private Long graftinglabelTypeId;

    /** 规格 */
    @Excel(name = "规格")
    private String graftinglabelSpecification;

    /** 购自公司 */
    @Excel(name = "购自公司")
    private String originCompany;

    /** 库存量 */
    @Excel(name = "库存量")
    private Long storageAmount;

    public void setGraftinglabelAmountId(Long graftinglabelAmountId)
    {
        this.graftinglabelAmountId = graftinglabelAmountId;
    }

    public Long getGraftinglabelAmountId()
    {
        return graftinglabelAmountId;
    }
    public void setGraftinglabelTypeId(Long graftinglabelTypeId)
    {
        this.graftinglabelTypeId = graftinglabelTypeId;
    }

    public Long getGraftinglabelTypeId()
    {
        return graftinglabelTypeId;
    }
    public void setGraftinglabelSpecification(String graftinglabelSpecification)
    {
        this.graftinglabelSpecification = graftinglabelSpecification;
    }

    public String getGraftinglabelSpecification()
    {
        return graftinglabelSpecification;
    }
    public void setOriginCompany(String originCompany)
    {
        this.originCompany = originCompany;
    }

    public String getOriginCompany()
    {
        return originCompany;
    }
    public void setStorageAmount(Long storageAmount)
    {
        this.storageAmount = storageAmount;
    }

    public Long getStorageAmount()
    {
        return storageAmount;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("graftinglabelAmountId", getGraftinglabelAmountId())
            .append("graftinglabelTypeId", getGraftinglabelTypeId())
            .append("graftinglabelSpecification", getGraftinglabelSpecification())
            .append("originCompany", getOriginCompany())
            .append("storageAmount", getStorageAmount())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
